<script type="text/javascript">
import Vue from 'vue'
import fab from 'vue-fab'
var original = fab.methods.toParent;

export default {
    name: 'm-fab',
    props: {
        stay: {
            type: Boolean,
            default: true
        }
    },
    
    extends: fab,
    methods: {
        toParent() {
            original.apply(this, arguments);
            this.toggle = true;
        }
    }
    
}
</script>